package com.kingyun.gpsinspection.purificationservice.facade.model.jsm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工作内容实例类
 */
public class WorkCellInstance extends BootstrapSearchBean implements Serializable {

    private static final long serialVersionUID = 7576468843712702114L;

    private String workInstanceId;

    private String cellId;

    private String devTypeId;

    private String entityOperateId;

    private String name;

    private String entityId;

    private String operateType;

    private String riskType;

    private String opLevel;

    private String opCycle;

    private String opCycleDesc;

    private String assessCriteria;

    private String workCriteria;

    private Short type;

    private String orgId;

    private String createopid;

    private Date createtime;

    private String modifyopid;

    private Date modifytime;

    private String description;

    private Short status;

    // 周期值
    private Long frequency;
    // 复杂程度
    private String complexity;
    // 潜在风险
    private String potentialRisk ;
    // 控制措施
    private String controlMeasures ;
    // 要点提示
    private String keyPoint ;
    // 步骤版本
    private BigDecimal stepVersion;

    /* 新增别名 */
    private String aliasName ;
    /* 分类字段 */
    private String opItem ;

    private String workType;

    private String iconSkin;

    //操作卡类别
    private String category;

    // 新增周期类型
    private BigDecimal cycleType ; //{1:固定周期 ； 2自定义周期 ； 3无固定周期 }

    public WorkCellInstance(){}
    public WorkCellInstance(String workInstanceId,BigDecimal stepVersion){
        this.workInstanceId = workInstanceId;
        this.stepVersion = stepVersion;
    }

    public BigDecimal getStepVersion() {
        return stepVersion;
    }

    public void setStepVersion(BigDecimal stepVersion) {
        this.stepVersion = stepVersion;
    }

    public String getWorkInstanceId() {
        return workInstanceId;
    }

    public void setWorkInstanceId(String workInstanceId) {
        this.workInstanceId = workInstanceId == null ? null : workInstanceId.trim();
    }

    public String getCellId() {
        return cellId;
    }

    public void setCellId(String cellId) {
        this.cellId = cellId == null ? null : cellId.trim();
    }

    public String getDevTypeId() {
        return devTypeId;
    }

    public void setDevTypeId(String devTypeId) {
        this.devTypeId = devTypeId == null ? null : devTypeId.trim();
    }

    public String getEntityOperateId() {
        return entityOperateId;
    }

    public void setEntityOperateId(String entityOperateId) {
        this.entityOperateId = entityOperateId == null ? null : entityOperateId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId == null ? null : entityId.trim();
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType == null ? null : operateType.trim();
    }

    public String getRiskType() {
        return riskType;
    }

    public void setRiskType(String riskType) {
        this.riskType = riskType;
    }

    public String getOpLevel() {
        return opLevel;
    }

    public void setOpLevel(String opLevel) {
        this.opLevel = opLevel;
    }

    public void setComplexity(String complexity) {
        this.complexity = complexity;
    }

    public String getPotentialRisk() {
        return potentialRisk;
    }

    public void setPotentialRisk(String potentialRisk) {
        this.potentialRisk = potentialRisk;
    }

    public String getKeyPoint() {
        return keyPoint;
    }

    public void setKeyPoint(String keyPoint) {
        this.keyPoint = keyPoint;
    }

    public String getControlMeasures() {
        return controlMeasures;
    }

    public void setControlMeasures(String controlMeasures) {
        this.controlMeasures = controlMeasures;
    }

    public String getOpCycle() {
        return opCycle;
    }

    public void setOpCycle(String opCycle) {
        this.opCycle = opCycle;
    }

    public String getOpCycleDesc() {
        return opCycleDesc;
    }

    public void setOpCycleDesc(String opCycleDesc) {
        this.opCycleDesc = opCycleDesc == null ? null : opCycleDesc.trim();
    }

    public String getAssessCriteria() {
        return assessCriteria;
    }

    public void setAssessCriteria(String assessCriteria) {
        this.assessCriteria = assessCriteria == null ? null : assessCriteria.trim();
    }

    public String getWorkCriteria() {
        return workCriteria;
    }

    public void setWorkCriteria(String workCriteria) {
        this.workCriteria = workCriteria == null ? null : workCriteria.trim();
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getCreateopid() {
        return createopid;
    }

    public void setCreateopid(String createopid) {
        this.createopid = createopid == null ? null : createopid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getModifyopid() {
        return modifyopid;
    }

    public void setModifyopid(String modifyopid) {
        this.modifyopid = modifyopid == null ? null : modifyopid.trim();
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getComplexity() {
        return complexity;
    }

    public Long getFrequency() {
        return frequency;
    }

    public void setFrequency(Long frequency) {
        this.frequency = frequency;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getOpItem() {
        return opItem;
    }

    public void setOpItem(String opItem) {
        this.opItem = opItem;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public String getIconSkin() {
        return iconSkin;
    }

    public void setIconSkin(String iconSkin) {
        this.iconSkin = iconSkin;
    }

    public BigDecimal getCycleType() {
        return cycleType;
    }

    public void setCycleType(BigDecimal cycleType) {
        this.cycleType = cycleType;
    }

    /**
     * @return
     */
    public String getCategory() {
        return category;
    }

    /**
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }
}